<template>
  <div class="list">
    <div class="article_item" v-for="item in msgList" :key="item.art_id">
      <h3 class="van-ellipsis">{{ item.title }}</h3>
      <div class="img_box">
        <img
          :src="i"
          class="w100"
          v-for="(i, index) in item.cover.images"
          :key="index"
        />
      </div>
      <!---->
      <div class="info_box">
        <span>{{ item.aut_id }}</span>
        <span>{{ item.comm_count }}评论</span>
        <span>{{ item.pubdate }}</span>
      </div>
    </div>
  </div>
</template>

<script>
import { mapState } from 'vuex'
export default {
  computed: {
    ...mapState('list', ['msgList'])
  }
}
</script>

<style>
</style>
